#define _CRT_SECURE_NO_WARNINGS 1

#include"vector.h"

int main()
{
	zy::vector<string> v1;
	string s("111");
	v1.push_back(s);
	v1.push_back(string("222"));
	v1.push_back("333");
	v1.push_back("444");
	v1.push_back("555");
	zy::print_vector(v1);


	/*int i = int();
	double j = double();
	char k = char();*/

	/*zy::vector<int> v1(3u, 2);
	zy::print_vector(v1);
	zy::vector<int> v2(3, '2');
	zy::print_vector(v2);*/


	

	/*zy::vector<int> v1(5, 1);
	zy::print_vector(v1);*/

	/*zy::vector<int> v1;
	v1.push_back(1);
	v1.push_back(2);
	v1.push_back(3);
	v1.erase(v1.begin());
	zy::print_vector(v1);

	v1.erase(v1.begin());
	zy::print_vector(v1);

	v1.erase(v1.begin());
	zy::print_vector(v1);*/

	/*zy::vector<int> v1(3u, 2);
	v1.insert(v1.begin(), 5);
	v1.insert(v1.begin(), 4);
	v1.insert(v1.end(), 4);
	zy::print_vector(v1);*/

	/*zy::vector<int> v1(3u, 2);
	v1.pop_back();
	zy::print_vector(v1);

	v1.pop_back();
	zy::print_vector(v1);

	v1.pop_back();
	zy::print_vector(v1);*/

	//v1.pop_back();

	/*zy::vector<int> v1(3u, 2);
	for (auto e : v1)
	{
		cout << e << " ";
	}*/

	/*zy::vector<int> v1;
	v1.push_back(1);
	v1.push_back(2);
	v1.push_back(3);
	v1.push_back(4);
	v1.push_back(5);
	zy::print_vector(v1);

	for (auto& e : v1)
	{
		e += 2;
	}
	
	zy::print_vector(v1);*/


	/*zy::vector<int> v1;
	v1.push_back(1);
	v1.push_back(2);
	v1.push_back(3);
	v1.push_back(4);
	v1.push_back(5);
	zy::vector<int> v2(v1.begin(),v1.end());
	zy::print_vector(v2);

	string s("abcde");
	zy::vector<int> v3(s.begin(), s.end());
	zy::print_vector(v3);*/

	/*zy::vector<int> v1(3, 1);
	zy::vector<int> v2(v1);
	zy::print_vector(v1);
	zy::print_vector(v2);

	v2.push_back(2);
	v2.push_back(3);
	v2.push_back(4);
	v2.push_back(5);
	v2.push_back(6);
	v2.push_back(7);
	v2.push_back(8);
	zy::print_vector(v2);*/

	/*zy::vector<int> v1;
	zy::vector<int> v2(3, 1);
	zy::print_vector(v2);*/

	return 0;
}